
import Center from '../views/center/Center.vue'
import NotFound from '../views/notfound/NotFound.vue'
import material from '../views/prepare/material.vue'
import search from '../views/prepare/search.vue'
import cvmaker from '../views/prepare/cvmaker.vue'
import cvpost from '../views/cvpost/cvpost.vue'
import information from '../views/cvpost/information.vue'
import informationAdd from '../views/information-manage/InformationAdd.vue'
import informationEdit from '../views/information-manage/InformationEdit.vue'
import informationList from '../views/information-manage/InformationList.vue'
import materialAdd from '../views/information-manage/MaterialAdd.vue'
import checkCvs from '../views/information-manage/checkCvs.vue'
import materialShow from '../views/cvpost/material.vue'
import materialList from '../views/information-manage/MaterialList.vue'
import materialEdit from '../views/information-manage/MaterialEdit.vue'
import comment from '../views/cvpost/comment.vue'

const  routes = [
    {
        path:"/center",
        component:Center
    },
    {
        path:"/prepare",
        component:material
    },
    {
        path:"/cvpost",
        component:cvpost
    },
    {
        path:"/comment",
        component:comment
    },
    {
        path:"/prepare/material",
        component:material
    },
    {
        path:"/prepare/cvmaker",
        component:cvmaker
    },
    {
        path:"/prepate/search",
        component:search
    },
    {
        path:"/information/:id",
        component:information
    },
    {
        path:"/material/:id",
        component:materialShow
    },
    {
        path:"/information-manage/add",
        component:informationAdd
    },
    {
        path:"/information-manage/edit/:id",
        component:informationEdit
    },
    {
        path:"/information-manage/list",
        component:informationList
    },
    {
        path:"/information-manage/materialAdd",
        component:materialAdd
    },
    {
        path:"/information-manage/materialList",
        component:materialList
    },
    {
        path:"/information-manage/materialEdit/:id",
        component:materialEdit
    },
    {
        path:"/information-manage/checkCvs/:id",
        component:checkCvs
    },


    
    {
        path:"/",
        redirect:"/login"
    },
    { 
        path:"/:pathMatch(.*)*",
        name:"Notfound",
        component:NotFound
    }
]

export default routes